package com.example.healkep.bean;

import java.io.Serializable;
import java.util.List;

public class DietPlanBean implements Serializable {

    /**
     * breakfirst : [{"name":"牛奶","detail":"(牛奶500.0g)"},{"name":"米饭","detail":"(米饭75.0g)"}]
     * lunch : [{"name":"馒头","detail":"(馒头75.0g)"},{"name":"火龙果豆浆","detail":"(火龙果530.0g, 黄豆50.0g)"},{"name":"蚝油生菜","detail":"(生菜200.0g)"}]
     * dinner : [{"name":"面条","detail":"(面条75.0g)"},{"name":"月色荷塘","detail":"(藕77.0g, 胡萝卜46.0g, 黄花菜77.0g)"},{"name":"蒸水蛋","detail":"(鸡蛋60.0g, 猪肉,末17.0g)"}]
     * expected : {"total":1747,"detail":{"mainFood":225,"potato":0,"milk":500,"egg":60,"meat":100,"bean":100,"vegetables":500,"fruit":250,"nut":15}}
     * actual : {"total":1577,"detail":{"mainFood":225,"potato":0,"milk":500,"egg":60,"meat":17,"bean":50,"vegetables":400,"fruit":250,"nut":15}}
     */

    private ExpectedBean expected;
    private ActualBean actual;
    private List<BreakfirstBean> breakfirst;
    private List<LunchBean> lunch;
    private List<DinnerBean> dinner;

    public ExpectedBean getExpected() {
        return expected;
    }

    public void setExpected(ExpectedBean expected) {
        this.expected = expected;
    }

    public ActualBean getActual() {
        return actual;
    }

    public void setActual(ActualBean actual) {
        this.actual = actual;
    }

    public List<BreakfirstBean> getBreakfirst() {
        return breakfirst;
    }

    public void setBreakfirst(List<BreakfirstBean> breakfirst) {
        this.breakfirst = breakfirst;
    }

    public List<LunchBean> getLunch() {
        return lunch;
    }

    public void setLunch(List<LunchBean> lunch) {
        this.lunch = lunch;
    }

    public List<DinnerBean> getDinner() {
        return dinner;
    }

    public void setDinner(List<DinnerBean> dinner) {
        this.dinner = dinner;
    }

    public static class ExpectedBean implements Serializable {
        /**
         * total : 1747
         * detail : {"mainFood":225,"potato":0,"milk":500,"egg":60,"meat":100,"bean":100,"vegetables":500,"fruit":250,"nut":15}
         */

        private int total;
        private DetailBean detail;

        public static class DetailBean implements Serializable {
            /**
             * mainFood : 225
             * potato : 0
             * milk : 500
             * egg : 60
             * meat : 100
             * bean : 100
             * vegetables : 500
             * fruit : 250
             * nut : 15
             */

            private int mainFood;
            private int potato;
            private int milk;
            private int egg;
            private int meat;
            private int bean;
            private int vegetables;
            private int fruit;
            private int nut;
        }
    }

    public static class ActualBean implements Serializable {
        /**
         * total : 1577
         * detail : {"mainFood":225,"potato":0,"milk":500,"egg":60,"meat":17,"bean":50,"vegetables":400,"fruit":250,"nut":15}
         */

        private int total;
        private DetailBeanX detail;

        public static class DetailBeanX implements Serializable {
            /**
             * mainFood : 225
             * potato : 0
             * milk : 500
             * egg : 60
             * meat : 17
             * bean : 50
             * vegetables : 400
             * fruit : 250
             * nut : 15
             */

            private int mainFood;
            private int potato;
            private int milk;
            private int egg;
            private int meat;
            private int bean;
            private int vegetables;
            private int fruit;
            private int nut;
        }
    }

    public static class BreakfirstBean implements Serializable {
        /**
         * name : 牛奶
         * detail : (牛奶500.0g)
         */

        private String name;
        private String detail;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }
    }

    public static class LunchBean implements Serializable {
        /**
         * name : 馒头
         * detail : (馒头75.0g)
         */

        private String name;
        private String detail;

        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    public static class DinnerBean implements Serializable {
        /**
         * name : 面条
         * detail : (面条75.0g)
         */

        private String name;
        private String detail;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }
    }
}
